home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Archives
/
ForCLI
/
0Utils13.lha
/
0Utils
/
Make_IconXX
< prev
next >
Wrap
Text File
|
1995-04-10
|
795b
|
60 lines
; $VER: Make_IconXX 1.2 (10.04.95)
if EXISTS Make_IconXX.doc
more Make_IconXX.doc
endif
set Q "is in Your searchpath; shall I perform **nthe action?"
set X X
if NOT EXISTS IconXX
set X sed
which $X > NIL:
if NOT WARN
ask "*n'$X' $Q"
if WARN
sed -e "s/Execute/SRunSX /g" < c:IconX > IconXX
endif
endif
endif
if NOT EXISTS IconXX
set X splat
which $X > NIL:
if NOT WARN
ask "*n'$X' $Q"
if WARN
copy c:IconX IconXX
splat -o "Execute" "SRunSX " IconXX
endif
endif
endif
if NOT EXISTS IconXX
set X replace
which $X > NIL:
if NOT WARN
ask "*n'$X' $Q"
if WARN
Replace "Execute" "SRunSX " c:IconX TO IconXX
endif
endif
endif
if EXISTS IconXX
protect IconXX +pe
echo "Done*n"
endif
unset Q
unset X